package cn.iocoder.yudao.module.system.controller.admin.erp.customerinformation.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 客户信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CustomerInformationPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "客户名称", example = "赵六")
    private String nickname;

    @Schema(description = "押金")
    private BigDecimal deposit;

    @Schema(description = "尾款")
    private BigDecimal balancePayment;

    @Schema(description = "备注")
    private String remake;

    @Schema(description = "客户id", example = "12974")
    private Long customerId;

    @Schema(description = "客户ids", example = "12974")
    private List<Long>customerIds=new ArrayList<>();
}